package com.cn.bulu.TEST;

import java.util.Set;

import org.junit.Test;

import com.cn.bulu.utils.redis.JedisPoolUtils;

import redis.clients.jedis.Jedis;

/**
 * 
 * JedisTest 上午11:29:24 Copyright zhaocj Inc. All rights reserved. Love Me Like
 * Love Justin Bieber
 * 
 */
public class JedisTest {
	@Test
	// 查看某一数据库的全部keys
	public void test1() {
		Jedis jedis = JedisPoolUtils.getJedis();
		jedis.select(6);
		Set<String> keys = jedis.keys("*");
		JedisPoolUtils.close(jedis);
	}
}
